package guoanmaker.operator.business.service;

import java.util.Date;
import java.util.List;

import guoanmaker.operator.business.model.OperatorSecckill;
import guoanmaker.operator.business.model.ProvideCommodity;
import guoanmaker.operator.business.modelnobind.ActivityInfor;
import guoanmaker.operator.business.modelnobind.CommodityMove;
import guoanmaker.operator.business.modelnobind.SecckillAndCommodMove;
import guoanmaker.operator.business.modelnobind.SecckillMove;

/**
 * @author wanghongwei 
 * @ClassName: OperatorSecckillServiceInterface 
 * @Description: OperatorSecckillServiceInterface
 * @date 2017/11/21
 */
public interface OperatorSecckillServiceInterface {
	/** 
	    * @Title: saveOperatorSecckill
	    * @Description: 新增/修改
	    * @param：   
	    * @return OperatorSecckill    
	    * @throws 
	    */
	OperatorSecckill  saveOperatorSecckill(OperatorSecckill operatorSecckill);
	/** 
	    * @Title: saveOperatorSecckill
	    * @Description:查询
	    * @param：   
	    * @return OperatorSecckill    
	    * @throws 
	    */
	CommodityMove selectProvideCommodityByCode(Integer commodCode);
	/** 
	    * @Title: deleteOperatorSecckillById
	    * @Description: 删除
	    * @param：   
	    * @return OperatorSecckill    
	    * @throws 
	    */
	void deleteOperatorSecckillById(String id);
	/** 
	    * @Title: deleteOperatorSecckillByTime
	    * @Description: 删除区间
	    * @param：   
	    * @return OperatorSecckill    
	    * @throws 
	    */
	void deleteOperatorSecckillByTime(String startTime);
	 /** 
	    * @Title: selectSecckillByActivityId
	    * @Description: 根据活动id 当前时间查询秒杀商品时间信息
	    * @param：   
	    * @return ActivityInfor    
	    * @throws 
	    */
	ActivityInfor selectSecckillByActivityId(String activityId);
	  /** 
	    * @Title: selectSecckillByDate
	    * @Description: 根据活动id 当前时间查询秒杀商品信息
	    * @param：   
	    * @return SecckillAndCommodMove    
	    * @throws 
	    */
	List<SecckillAndCommodMove> selectSecckillByDate(String activityId,String skStartTime);

}
